package com.emergency.data.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * (Department)实体类
 *
 * @author makejava
 * @since 2020-09-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class Department extends BaseEntity implements Serializable {
    private static final long serialVersionUID = -37466441033360235L;
    /**
     * 部门ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 部门名称
     */
    private String deptName;
    /**
     * 部门级别 0-县级 1-镇级 2-村级
     */
    private Integer level;
    /**
     * 部门类型 0-用户类 1-通讯录类
     */
    private Integer type;
}